﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Chat_Model
{
    /// <summary>
    /// 用户添加好友申请表
    ///</summary>
    [SugarTable("lar_users_friends_apply")]
    public class LarUsersFriendsApply
    {
        /// <summary>
        /// 申请ID 
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int Id { get; set; }
        /// <summary>
        /// 申请人ID 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="user_id"    )]
         public int UserId { get; set; }
        /// <summary>
        /// 被申请人 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="friend_id"    )]
         public int FriendId { get; set; }
        /// <summary>
        /// 申请备注 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="remark"    )]
         public string Remark { get; set; }
        /// <summary>
        /// 申请时间 
        ///</summary>
        [SugarColumn(ColumnName = "created_at")]
        public DateTime? CreatedAt { get; set; } = DateTime.Now;
    }
}
